package com.xu.cloud.common.enums;

import lombok.Getter;

/**
 * 请求阻止类型枚举
 *
 * @author xuguan
 * @since 2024/12/23
 */
@Getter
public enum RequestBlockingEnum {

    IP("00", "IP地址"),

    PHONE("01", "手机号"),

    USER_ID("02", "用户id");

    /**
     * 请求阻止类型
     */
    private final String blockingType;
    /**
     * 请求阻止描述
     */
    private final String blockingDescription;

    RequestBlockingEnum(String blockingType, String blockingDescription) {
        this.blockingType = blockingType;
        this.blockingDescription = blockingDescription;
    }
}
